package com.huilian.iotbox.data.service;

import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.CommodityPurchaseRestrictionRecordDto;

/**
 * @author LinYinDong
 * @date 2024/1/22 16:52
 */
public interface CommodityPurchaseRestrictionRecordCommonService {
    ServerResponse addCommodityPurchaseRestrictionRecord(Long orderId);

    /**
     * 修改commodity_purchase_restriction_record的status, 封装过, 只需要传递orderId和status
     */
    ServerResponse updateCommodityPurchaseRestrictionRecordStatusPack(Long orderId,Integer status);
}
